//
//  funcSpecialization.cpp
//  learnC++
//
//  Created by liuzhibing on 2018/6/20.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#include "funcSpecialization.hpp"

//指定某个类型的模板实现（完全特化特化必须放cpp，相当于普通函数了）
template<>
void StorageTwo<double>::print()
{
    std::cout << m_value << "DOUBLE";
}

template <>
void StorageTwo<int>::print(){
    std::cout << m_value << "INT";
}
